//appTask.h
#ifndef	APP_TASK_H
#define	APP_TASK_H

#include "type.h"


// Task ID not initialized
#define NO_TASK_ID 0xFF
//任务事件处理函数声明



static uint8 registeredKeysTaskID = NO_TASK_ID;



void Serial_Task_Init(uint8 task_id);
extern uint16 RS485_Task_EventProcess(uint8 task_id,uint16 task_event);
uint8 RS485_Sendstate ( uint8 keys, uint8 state );



#endif

